
import request from '@/utils/request'



export const getAllVideos = async() => await request.get("video/getAllVideo")





export const getVideosByCategoryId = async (cId) => await request.get(`video/category/${cId}`)
export const getVideosByUserId = async (uId) => await request.get(`video/user/${uId}`)

export const getVideosByFavoritesId = async (fId) => await request.get(`video/favorites/${fId}`)


export const getVideoById = async (vId) => await request.get(`video/${vId}`)



